﻿using System;
using System.Data;

namespace JDFoodMenu.Entity
{
   [Serializable]
    public class FoodModel
    {
      

      
        /// <summary>
        /// Construct empty entity
        /// </summary>
       public FoodModel()
       {
            ID = Guid.Empty;
            Time = DateTime.MinValue;
            CreateTime = DateTime.MinValue;
            DinnerName = string.Empty;
            Type = string.Empty;
            RoomID = 0;
            Room = string.Empty;
            Main = string.Empty;
            SideDish = string.Empty;
            Vegetable = string.Empty;
            Soap = string.Empty;
            Fruit = string.Empty;
            Other = string.Empty;
            OrderNum = 0;
            Price = string.Empty;
        
        }

        

      
        #region Property <Guid> ID
     
        public Guid ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
        private Guid _ID = Guid.Empty;
        #endregion

        #region Property <DateTime> Time
      
        public DateTime Time
        {
            get { return _Time; }
            set { _Time = value; }
        }
        private DateTime _Time = DateTime.MinValue;
        #endregion

        #region Property <DateTime> CreateTime
       
        public DateTime CreateTime
        {
            get { return _CreateTime; }
            set { _CreateTime = value; }
        }
        private DateTime _CreateTime = DateTime.MinValue;
        #endregion

        #region Property <string> DinnerName
       
        public string DinnerName
        {
            get { return _DinnerName; }
            set { _DinnerName = value; }
        }
        private string _DinnerName = null;
        #endregion

        #region Property <string> Type
       
        public string Type
        {
            get { return _Type; }
            set { _Type = value; }
        }
        private string _Type = null;
        #endregion

        #region Property <int> RoomID
      
        public int RoomID
        {
            get { return _RoomID; }
            set { _RoomID = value; }
        }
        private int _RoomID = int.MinValue;
        #endregion

        #region Property <string> Room
      
        public string Room
        {
            get { return _Room; }
            set { _Room = value; }
        }
        private string _Room = null;
        #endregion

        #region Property <string> Main
    
        public string Main
        {
            get { return _Main; }
            set { _Main = value; }
        }
        private string _Main = null;
        #endregion

        #region Property <string> SideDish
      
        public string SideDish
        {
            get { return _SideDish; }
            set { _SideDish = value; }
        }
        private string _SideDish = null;
        #endregion

        #region Property <string> Vegetable
      
        public string Vegetable
        {
            get { return _Vegetable; }
            set { _Vegetable = value; }
        }
        private string _Vegetable = null;
        #endregion

        #region Property <string> Soap
      
        public string Soap
        {
            get { return _Soap; }
            set { _Soap = value; }
        }
        private string _Soap = null;
        #endregion

        #region Property <string> Fruit
      
        public string Fruit
        {
            get { return _Fruit; }
            set { _Fruit = value; }
        }
        private string _Fruit = null;
        #endregion

        #region Property <string> Other
      
        public string Other
        {
            get { return _Other; }
            set { _Other = value; }
        }
        private string _Other = null;
        #endregion

        #region Property <int> OrderNum
     
        public int OrderNum
        {
            get { return _OrderNum; }
            set { _OrderNum = value; }
        }
        private int _OrderNum = int.MinValue;
        #endregion

        #region Property <string> Price
      
        public string Price
        {
            get { return _Price; }
            set { _Price = value; }
        }
        private string _Price = null;
        #endregion
       
       
    }
}